package com.demo.studentidcard.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author xuziao
 * @date 2021/9/24 12:51
 */

@Controller
public class ViewController {

    @GetMapping("/")
    public String outline() {
        return "outline";
    }

    @GetMapping("/resign")
    public String resign(){

        return "resign";
    }

    @GetMapping("/recharge")
    public String recharge(){
        return "recharge";
    }

    @GetMapping("/getBalance")
    public String getBalance() {
        return "getBalance";
    }

    @GetMapping("/setIsLost")
    public String setIsLost() {
        return "reportLoss";
    }

    @GetMapping("/setIsLostNone")
    public String setIsLostNone() {
        return "setIsLostNone";
    }

    @GetMapping("/showDetails")
    public String showDetails() {
        return "showDetails";
    }

}
